package com.atguigu.dga.meta.service;

import com.atguigu.dga.meta.bean.TableMetaInfo;
import com.atguigu.dga.meta.bean.TableMetaInfoQuery;
import com.atguigu.dga.meta.bean.TableMetaInfoVO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.thrift.TException;

import java.util.List;

/**
 * <p>
 * 元数据表 服务类
 * </p>
 *
 * @author tubage
 * @since 2024-03-15
 */
public interface TableMetaInfoService extends IService<TableMetaInfo> {
    /**
     * 从hive HDFS提取元数据
     * @param schemaName
     * @param assessDate
     */
    void initTableMetaInfo(String schemaName, String assessDate) throws Exception;

    // 获取列表
    List<TableMetaInfoVO> getTableMetaInfoVOListByConditionAndPage(TableMetaInfoQuery tableMetaInfoQuery);
    // 获取查询条数
    Long getTableMetaInfoVOCountByCondition(TableMetaInfoQuery tableMetaInfoQuery);
}
